<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>用户管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link href="../../plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="../../plugins/adminLTE/dist/css/AdminLTE.min.css" rel="stylesheet" />
    <link href="../../plugins/zTree/css/metroStyle/metroStyle.css"  rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="../../plugins/layui/css/layui.css"  media="all">
    <link rel="stylesheet" href="../../modules/common/css/laycss.css"  media="all">

</head>
<body class="hold-transition skin-blue sidebar-mini" style="background-color:#ecf0f5">
<section class="content container-fluid">
    <div class="row">
        <div class="col-sm-3">
            <div class="box box-success">
                <div class="box-body">
                    <ul id="tree" class="ztree"></ul>
                </div>
            </div>
        </div>

        <div class="layui-btn-group layui-col-sm2" style="margin-left: 1.2%">
            <button class="layui-btn layui-btn-sm" onclick="add()">
                <i class="layui-icon">&#xe654;</i>
            </button>
            <button class="layui-btn layui-btn-sm" onclick="edit()">
                <i class="layui-icon">&#xe642;</i>
            </button>
            <button class="layui-btn layui-btn-sm" onclick="del()">
                <i class="layui-icon">&#xe640;</i>
            </button>
            <button class="layui-btn layui-btn-sm">
                <i class="layui-icon">&#xe602;</i>
            </button>
        </div>
        <div class="layui-col-sm2" style="margin-left: 15%">
            <input type="text" id="name" name="name" placeholder="名称" class="layui-input" />
        </div>
        <div class="layui-col-md2">
            <input type="text" id="code" name="code" placeholder="编码" class="layui-input" />
        </div>
        <div class="layui-col-md1">
            <button class="layui-btn layui-btn-sm" onclick="search()">
                <i class="layui-icon">&#xe615;</i>
            </button>
        </div>

        <div class="col-sm-9">

            <div class="box">
                <div class="box-body">
                    <table class="layui-hide" id="orgForm"></table>
                </div>
            </div>
        </div>
    </div>

</section>

</body>
<script src="../../plugins/jquery/jquery.min.js"></script>
<script src="../../plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="../../plugins/zTree/js/jquery.ztree.core.js"></script>
<script src="../../plugins/layui/layui.js"></script>
<script src="../../modules/org/js/orgList.js"></script>
<script src="../../modules/common/js/layuiTable.js"></script>

<!--<script src="../../plugins/zTree/js/jquery.ztree.excheck.min.js"></script>
<script src="../../plugins/zTree/js/jquery.ztree.exedit.min.js"></script>-->

<script type="text/html" id="statusTpl">
    {{# if(d.status==0){ }}
    封号
    {{# } else if(d.status==1){ }}
    正常
    {{# } }}
</script>
</html>